<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title>发布历史-嗨柚</title>
    <link rel="stylesheet" type="text/css" href="../../css/share/reset.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/share/ui.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/host/recruitHistory.css"/>
</head>

<body>
<!-- header-->
<div class="header">
    <div class="header-content">
        <div class="headerWrapper fix">
            <div class="header-content-logo fl">
                <a href="../index.html"><img src="../../img/header/logo.png" alt="logo"/></a>
            </div>
            <div class="header-content-nav fr">
                <ul>
                    <li><a href="../index.html">首页</a></li>
                    <li><a href="../about-us.html">关于我们</a></li>
                    <li><a id="x-place-1">加载中</a></li>
                    <li><a id="x-place-2">加载中</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<!-- /header -->

<div class="container-wrapper">
    <div class="container">
        <div class="box">
            <div class="box-header ">
                <h1 class="title">发布历史</h1>
            </div>
            <div class="box-content ">
                <ul class="card-list">
                    <script type="text/html" id="card-list-template">
                        <%if(data !=undefined && data.length != 0){%>
                        <% for(var i = 0; i < data.length; i++){ %>
                            <li data-rid="<%= data[i].rid %>">
                                <div class="portrait-70 fl bdr-227">
                                    <img src="<%= data[i].img %>" alt="头像"/>
                                </div>
                                <div class="card-left">
                                    <p class="ell" title="<%= data[i].name %>"><%= data[i].name %></p>
                                    <p><span><%= data[i].time %></span></p>
                                </div>
                                <div class="card-center">
                                    <p>收到简历:<%= data[i].applysize %>份</p>
                                    <p>评分:
                                        <% for(var j = 0; j < data[i].score; j++){ %>
                                            <img src="../../img/icons/fullScore.png" alt="满星"/>
                                        <% } %>
                                        <% for(var j = data[i].score; j < 5; j++){ %>
                                            <img src="../../img/icons/zeroScore.png" alt="半星"/>
                                        <% } %>
                                    </p>
                                </div>
                                <div class="card-right">
                                    <% if(data[i].state == 0){ %>
                                        <p><a href="javascript:void(0);" class="btn btn-primary">进行中</a></p>
                                        <p>
                                            <a href="javascript:void(0);" class="h-c-theme">修改</a>
                                            &nbsp;&nbsp;
                                            <a href="javascript:void(0);" class="h-c-theme">下架招聘</a>
                                        </p>
                                    <% } else if(data[i].state == -1) { %>
                                        <p><a href="javascript:void(0);" class="btn btn-neg">已结束</a></p>
                                        <!--<p><a href="javascript:void(0);" class="h-c-theme">删除</a></p>-->
                                    <% } %>
                                </div>
                            </li>
                        <% } %>
                        <% }else { %>
                        <p class="text-theme no_data">:( 啊哦,没有数据!</p>
                        <% } %>
                    </script>

                    <!--<li>-->
                        <!--<div class="portrait-70 fl bdr-227">-->
                            <!--<img src="../../img/potrait1.jpg" alt="头像"/>-->
                        <!--</div>-->
                        <!--<div class="card-left">-->
                            <!--<p class="ell" title="这是旅店的名字">这是招聘的名字吧</p>-->
                            <!--<p><span>2016-05-09</span></p>-->
                        <!--</div>-->
                        <!--<div class="card-center">-->
                            <!--<p>收到简历:120份 浏览1200份</p>-->
                            <!--<p>评分: <img src="../../img/icons/favorite.png" alt=""/><img-->
                                    <!--src="../../img/icons/favorite.png" alt=""/><img src="../../img/icons/favorite.png"-->
                                                                                    <!--alt=""/></p>-->
                        <!--</div>-->
                        <!--<div class="card-right">-->
                            <!--<p><a href="javascript:void(0);" class="btn btn-neg">已结束</a></p>-->
                            <!--<p><a href="javascript:void(0);" class="h-c-theme">删除</a></p>-->
                        <!--</div>-->
                    <!--</li>-->
                </ul>

            </div>
        </div>
        <!--
     pagination
     -->
        <div class="pagination-wrapper">
            <ul class="pagination">
                <li><a href="javascript:void(0);" class="pre"></a></li>
                <li><a href="javascript:void(0);">1</a></li>
                <li><a href="javascript:void(0);">2</a></li>
                <li><a href="javascript:void(0);">3</a></li>
                <li><a href="javascript:void(0);">4</a></li>
                <li><a href="javascript:void(0);">5</a></li>
                <li><a href="javascript:void(0);">6</a></li>
                <li><a href="javascript:void(0);">7</a></li>
                <li><a href="javascript:void(0);">8</a></li>
                <li><a href="javascript:void(0);">9</a></li>
                <li><a href="javascript:void(0);">10</a></li>
                <li><a href="javascript:void(0);">11</a></li>
                <li><a href="javascript:void(0);" class="next"></a></li>
                <li>跳转到 ：&nbsp;<input type="text" id="jumpTo"/></li>
                <li><a href="javascript:void(0);" class="go">GO</a></li>
            </ul>
        </div>
        <!--
        .pagination
        -->
    </div>
</div>

<!-- toolbor -->
<div class="toolbar">
    <a id="scrollTop" href="javascript:void(0);"></a>
</div>
<!-- /toolbor -->
<!-- footer-->
<div class="footer">
    <div class="footer-content">
        <div class="footerWrapper">
            <div class="footer-content-text ">
                <ul>
                    <li>
                        <h2>快速导航</h2>
                        <p><a href="javascript:void(0);">我是义工</a></p>
                        <p><a href="javascript:void(0);">我是商家</a></p>
                        <p><a href="javascript:void(0);">友情链接</a></p>
                    </li>
                    <li>
                        <h2>帮助中心</h2>
                        <p><a href="javascript:void(0);">常见问题</a></p>
                        <p><a href="../contract.html" target="_blank">用户协议</a></p>
                    </li>
                    <li>
                        <h2>反馈</h2>
                        <p><a href="javascript:void(0);">意见建议</a></p>
                        <p><a href="javascript:void(0);">举报</a></p>
                    </li>
                </ul>
            </div>
            <div class="footer-content-conact">
                <ul>
                    <li class="hide">
                        <img src="../../img/footer/footer1.png" alt="微博图标"/>
                        <p>嗨柚旅行微博</p>
                        <a href="http://weibo.com/hiyouther" title="点击关注我们的微博"><img src="../../img/footer/footer2.png"
                                                                            alt="微博图标"/></a>
                    </li>
                    <li>
                        <img class="erweima" src="../../img/footer/8cmerweima.jpg" alt="微信公众号二维码"/>
                        <p>嗨柚微信公众号</p>
                        <p>hiyouthtour</p>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="footer-bottom">
        <p>Copyright&copy;2015-2016 hiyouther.com All Rights Reserved</p>
        <p><a href="http://www.miitbeian.gov.cn" title="http://www.miitbeian.gov.cn">渝ICP备16003213号-1</a></p>
    </div>
</div>
<!-- /footer -->
<!-- /footer -->
<script src="../../js/lib/require.js"></script>
<script type="text/javascript" rel="script">
    require.config({
        baseUrl: "../../js",
        paths: {
            jquery: 'lib/jq',
            domReady: 'lib/require.domready'
        }
    });
    require(['domReady', 'page/host.recruitHistory'], function (domReady, recruitHistory) {
        domReady(function () {
            recruitHistory.init()
        });
    });
</script>

</body>

</html>